#include <stdio.h>
#include <conio.h>

#include "hashtable.h"

int main() {

	hashtable a;
	char tmp[1000], c;
	__int64 i = 0;

	freopen("input.txt", "r", stdin);	
	
	while((c = getchar()) != EOF) {
		i = 0;
		if(c != '\n' && c != ' ')
			tmp[i++] = c;	
		while((c = getchar()) != ' ' && c != '\n' && c != EOF) {
			tmp[i++] = c;
		}
		tmp[i] = 0;
		a.add(tmp);
	}

	a.show_count();

	getch();
	return 0;
}